package com.topscore.uke.mvp.contractors;

import android.view.View;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.topscore.uke.entities.TeamStaffData;
import com.topscore.uke.entities.TeamStaffEntity;
import com.topscore.uke.mvp.BaseContractor;
import com.topscore.uke.mvp.model.BaseHttpListener;
import com.topscore.uke.mvp.views.BaseView;

import java.util.List;

import rx.android.schedulers.AndroidSchedulers;

/**
 * Created by 71468 on 2017/10/16.
 */

public interface GetGroupStaffContractor extends BaseContractor {
    interface Presenter{
        void getStaffList();
        void loadNextPage();
    }

    interface View extends BaseView {
//        void onLoadStaffListSuccess(List<TeamStaffEntity> list);
//        void onLoadNextPageSuccess(List<TeamStaffEntity> list);
        BaseQuickAdapter getCaptainAdapter();
        BaseQuickAdapter getStaffListAdapter();
        android.view.View getLoadingFooterView();
        android.view.View getErrorFooterView();
//        void onLoadNextComplete();
//        void onLoadNextPageFailed();
    }

    interface Model{
        void getList(Listener listener);
        void getNextPage(Listener listener);
    }

    interface Listener extends BaseHttpListener{
        void onGetListSuccess(TeamStaffData data);
    }
}
